<template>
  <div :style="setStyle" v-if="comIsTable">{{ format(curData) }}</div>
  <div v-else>{{ format($data.data[$data.data.column.field]) }}</div>
</template>

<script>
import { formatFunction } from '@/utils/format'
import mixinTableFormat from './table-format'
export default {
  mixins: [mixinTableFormat],
  data () {
    return {}
  },
  methods: {
    format (value) {
      return formatFunction('boolean-Active_InActive', value)
    }
  }
}
</script>
